package kgc.crm.util;
//常量类
public class Constant {
    //时间格式
    public static final String DATE_TIME_YYYY_MM_DD_HH_MM_SS="yyyy-MM-dd HH:mm:ss";

    public static final String DATE_TIME_DAY="yyyy-MM-dd";

    public static final String DATE_TIME_MOUTH="yyyy-MM";

    public static final String DATE_TIME_YEAR="yyyy";

    //签名值
    public static final String SIGN_KEY="kgc.crm.cn";

    //时间 一分钟  一小时  两个小时
    public static final long EXPIR_TIME_SS_60 = 1000*60;
    public static final long EXPIR_TIME_HH_1 = 1000*60*60;
    public static final long EXPIR_TIME_HH_2 = 1000*60*60*2;
    public static final long EXPIR_TIME_HH_6 = 1000*60*60*6;
    public static final long REDIS_EXPIR_TIME_HH_2 = 60*60*2;
    public static final long REDIS_EXPIR_TIME_HH_6 = 60*60*6;
    public static final long REDIS_EXPIR_TIME_7DD = 60*60*24*7;

    //TOKEN的名称
    public static final String API_TOKEN = "API_TOKEN";
    //TOKEN的名称
    public static final String MENU_NAME = "API_MENU";

    //拼接
    public static final String PINGJIE = "-";

    //线索类型
    public static final String LEADS_TYPE_NAME = "leads";
    public static final String SYSTEM_NAME_CRM = "crm";

    //图形验证码 的 key CAPTCHA_SESSION
    public static final String CAPTCHA_SESSION = "captcha";
}
